package com.ltmonitor.video.entity;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name="VideoMp4KeyFrame")
@org.hibernate.annotations.Proxy(lazy = false)
@Inheritance(strategy= InheritanceType.TABLE_PER_CLASS)
public class VideoMp4KeyFrame  implements Serializable {
    public static String STATUS_NEW = "new";

    public static String STATUS_FAILED             = "failed";

    public static String STATUS_SUCCESS = "success";

    public VideoMp4KeyFrame() {
        createDate = new Date();
        updateDate = new Date();
        status = STATUS_NEW;
    }

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "Id", unique = true, nullable = false)
    private int entityId;
    private String mp4FilePath;

    private String status;

    private String keyFrames;

    private Date createDate;

    private Date updateDate;

    private String remark;

    public String getMp4FilePath() {
        return mp4FilePath;
    }

    public void setMp4FilePath(String mp4FilePath) {
        this.mp4FilePath = mp4FilePath;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getKeyFrames() {
        return keyFrames;
    }

    public void setKeyFrames(String keyFrames) {
        this.keyFrames = keyFrames;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getEntityId() {
        return entityId;
    }

    public void setEntityId(int entityId) {
        this.entityId = entityId;
    }
}